package com.lou.springboot.enums;

/**
 * Created by Guaguaerhao on 2020/7/16 21:37
 */
public enum ArticleTypeEnum {
    HOT_ARTICLE("热门文章",0),
    LATEST_ARTICLE("最新", 1);

    private final String msg;
    private final Integer code;

    ArticleTypeEnum(String msg, Integer code){
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }
}
